package org.brownflat.lighthouse.monitoring.monitor;


import org.brownflat.lighthouse.monitoring.ci.Build;

import java.util.List;

public interface MonitoringService extends Runnable {
    void addTask(LighthouseTask task);

    boolean pause(String name);

    boolean start(String name);

    boolean pause();

    boolean start();

    List<LighthouseTask> getAllTasks();

    List<Build> getLatestBuilds();
}
